package com.aghcampusnavigation.navi;

/**
 * Created by Basia on 28.04.14.
 */
public class DataOfBuilding {

    //private variables
    private int id;
    private String number;
    private Float latitude;
    private Float longitude;
    private String description;
    private int count;


    // Empty constructor
    public DataOfBuilding(){

    }
    // constructor
    public DataOfBuilding(int id, String number, Float latitude, Float longitude, String description){
        this.id = id;
        this.number = number;
        this.latitude = latitude;
        this.longitude = longitude;
        this.description=description;
    }

    // constructor
    public DataOfBuilding(String number, Float latitude, Float longitude,String description){
        this.number = number;
        this.latitude = latitude;
        this.longitude = longitude;
        this.description=description;
    }

    //getting id
    public int gettingID(){
        return this.id;
    }

    //setting id
    public void settingID(int id){
        this.id=id;
    }

    //getting count
    public int gettingCount(){
        return this.count;
    }

    //setting count
    public void settingCount(int count){
        this.count=count;
    }

    //getting number
    public String gettingNumber(){
        return this.number;
    }

    //setting number
    public void settingNumber(String number){
        this.number=number;
    }

    //getting description
    public String gettingDescription(){
        return this.description;
    }

    //setting description
    public void settingDescription(String description){
        this.description=description;
    }

    //getting latitude
    public Float gettingLatitude(){
        return this.latitude;
    }



    //setting latitude
    public void settingLatitude(Float latitude){
        this.latitude=latitude;
    }

    //getting longitude
    public Float gettingLongitude(){
        return this.longitude;
    }

    //setting longitude
    public void settingLongitude(Float longitude){
        this.longitude=longitude;
    }

    @Override
    public String toString() {
        return "Building [id=" + id + ", number=" + number + ", latitude=" + latitude
                + ",longitude="+ longitude + ",description=" + description + "]";
    }
}

